package com.mht2017.common.mongo.dto;

/**
 * mongodb中的对象在java内存中的bean
 *
 * @author yutong.xiao
 */
public class SearchConfigTableColumnDto {

	private String indexField;
	private String dbField;
	private String isPrimarykey;
	private String searchable;
	private String type;
	private String analyzer;
	private String isManyToOne;
	private String associateTable;
	private String associateField;
	private String copyTo;

	public String getIndexField() {
		return indexField;
	}

	public void setIndexField(String indexField) {
		this.indexField = indexField;
	}

	public String getDbField() {
		return dbField;
	}

	public void setDbField(String dbField) {
		this.dbField = dbField;
	}

	public String getIsPrimarykey() {
		return isPrimarykey;
	}

	public void setIsPrimarykey(String isPrimarykey) {
		this.isPrimarykey = isPrimarykey;
	}

	public String getSearchable() {
		return searchable;
	}

	public void setSearchable(String searchable) {
		this.searchable = searchable;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAnalyzer() {
		return analyzer;
	}

	public void setAnalyzer(String analyzer) {
		this.analyzer = analyzer;
	}

	public String getCopyTo() {
		return copyTo;
	}

	public void setCopyTo(String copyTo) {
		this.copyTo = copyTo;
	}

	public String getIsManyToOne() {
		return isManyToOne;
	}

	public void setIsManyToOne(String isManyToOne) {
		this.isManyToOne = isManyToOne;
	}

	public String getAssociateTable() {
		return associateTable;
	}

	public void setAssociateTable(String associateTable) {
		this.associateTable = associateTable;
	}

	public String getAssociateField() {
		return associateField;
	}

	public void setAssociateField(String associateField) {
		this.associateField = associateField;
	}

	@Override
	public String toString() {
		return "SearchConfigTableColumnDto [indexField=" + indexField + ", dbField=" + dbField + ", isPrimarykey=" + isPrimarykey + ", searchable=" + searchable + ", type=" + type + ", analyzer=" + analyzer + ", isManyToOne=" + isManyToOne + ", associateTable=" + associateTable + ", associateField="
				+ associateField + ", copyTo=" + copyTo + "]";
	}
}
